package com.fudan.es.indices;

public class IndexStatus {

	private String name;
	private Integer activeShards;
	private String status;
	private IndexStatus(String name,int active,String status) {
		this.name = name;
		this.activeShards = active;
		this.status = status;
	}

	public static IndexStatus build(String name,Integer active,String status) {
		return new IndexStatus(name, active, status);
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getActiveShards() {
		return activeShards;
	}
	public void setActiveShards(Integer activeShards) {
		this.activeShards = activeShards;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

}
